<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    var product =  {    
    id: 1,    
    name: '宜家书架',    
    price: 2000,    
    color: '白色',    
    isOut: false,
    data:[
    {
      "Id": 1,
      "name": "最新",
      "alias": "ZuiXin",
      "is_delete": 0
    },
    {
      "Id": 2,
      "name": "科技",
      "alias": "KeJi",
      "is_delete": 0
    },
    {
      "Id": 3,
      "name": "股市",
      "alias": "GuShi",
      "is_delete": 0
    },
    {
      "Id": 4,
      "name": "历史",
      "alias": "LiShi",
      "is_delete": 0
    },
    {
      "Id": 5,
      "name": "情感",
      "alias": "QingGan",
      "is_delete": 0
    }
    ]
}
console.log(product.id);
console.log(product.name);
console.log(product.price);
console.log(product.color);
console.log(product.isOut);
  let newdata = product.data
  for(let i = 0;i < newdata.length;i++) {
    console.log(newdata[i]);
  }
  </script>
</body>
</html>